import request from '@/utils/request'

//新增学生干部
export function save(data) {
  return request({
    url: '/rms/rmsStudentCadre/save',
    method: 'post',
    data:data
  })
}
//删除学生干部
export function deleteStudentCadre(id) {
  return request({
    url: '/rms/rmsStudentCadre/delete'+id,
    method: 'get',
  })
}
//查询学生干部
export function findById(id) {
  return request({
    url: '/rms/rmsStudentCadre/findById'+id,
    method: 'get',
  })
}
//修改学生干部
export function update(data) {
  return request({
    url: '/rms/rmsStudentCadre/update'+id,
    method: 'post',
    data:data
  })
}
//查询全部学生干部
export function findAllStudentCadre() {
  return request({
    url: '/rms/rmsStudentCadre/findAll',
    method: 'get',
  })
}

